package com.lihaogn.sell.enums;

/**
 * @FileName: FoodStatusEnum
 * @Description: TODO
 * @Author: lihao
 * @Date: 2019-05-23 08:45
 * @Version: 1.0
 */
public enum FoodStatusEnum {

    /**
     * 在售状态
     */
    ONSALE(1, "在售"),
    /**
     * 下架状态
     */
    OFFSALE(0, "下架");

    private int state;
    private String info;

    FoodStatusEnum(int state, String info) {
        this.state = state;
        this.info = info;
    }

    public int getState() {
        return state;
    }}
